/*
 * @Description: Description
 * @Author: wning
 * @Date: 2022-12-01 16:22:31
 * @LastEditors: Andy
 * @LastEditTime: 2023-01-03 19:12:28
 */

import i18n from '@/common/lang'

export const columns = [
  {
    label: i18n.t('maintain.loginLog.username'),
    width: 240,
    prop: 'username'
  },
  {
    label: i18n.t('maintain.loginLog.nickName'),
    width: 240,
    prop: 'nickName'
  },
  {
    label: i18n.t('maintain.loginLog.state'),
    width: 240,
    prop: 'state'
  },
  {
    label: i18n.t('maintain.loginLog.loginIp'),
    width: 'auto',
    prop: 'loginIp'
  },
  {
    label: i18n.t('maintain.loginLog.createTime'),
    prop: 'createTime',
    width: 'auto',
    minWidth: 160
  }
]
export const stateOption = [
  { value: 0, label: '是' },
  { value: 1, label: '否' }
]
